package com.xiyu.service.enums.restaurant.combo;

import com.xiyu.service.enums.plan.NursePlanExecTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
import java.util.Arrays;
import com.xiyu.service.enums.common.IntArrayValuable;

/**
* 餐饮套餐菜品类型
*/
@Getter
@AllArgsConstructor
public enum RestaurantComboDetailTypeEnum implements IntArrayValuable {

    /**
    * 早餐
    */
    BREAKFAST(0, "早餐"),
    /**
    * 午餐
    */
    LUNCH(1, "午餐"),
    /**
    * 晚餐
    */
    DINNER(2, "晚餐"),
    /**
    * 早茶
    */
    MORNING_TEA(3, "早茶"),
    /**
    * 下午茶
    */
    AFTERNOON_TEA(4, "下午茶"),
    /**
    * 宵夜
    */
    NIGHT_SNACK(5, "宵夜");

    private final Integer value;

    private final String label;

    public static final int[] VALUES = Arrays.stream(values()).mapToInt(RestaurantComboDetailTypeEnum::getValue).toArray();

    @Override
    public int[] getValues() { return VALUES;}

    public static final String[] LABELS = Arrays.stream(values()).map(RestaurantComboDetailTypeEnum::getLabel).toArray(String[]::new);

    @Override
    public String[] getLabels() { return LABELS; }

}
